package cn.com.startai.smartadh5.processlogic.entity.bean;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Created by chufeng on 2018/4/8.
 * 文件类型的实体类
 */

public class ShowFileTypeBean implements Serializable {


    private ArrayList<Content> files;

    public ShowFileTypeBean() {

    }

    @Override
    public String toString() {
        return "ShowFileTypeBean{" +
                "files=" + files +
                '}';
    }

    public ShowFileTypeBean(ArrayList<Content> files) {
        this.files = files;
    }

    public ArrayList<Content> getFiles() {
        return files;
    }

    public void setFiles(ArrayList<Content> files) {
        this.files = files;
    }


    public static class Content implements Serializable {

        private String extName;//格式名称
        private long fileSize;
        private long time;
        private String fileName;
        private String fileType;
        private String filePath;

        public String getFilePath() {
            return filePath;
        }

        public void setFilePath(String filePath) {
            this.filePath = filePath;
        }

        public Content() {

        }

        public Content(String extName, long fileSize, long time, String fileName, String fileType,String filePath) {
            this.extName = extName;
            this.fileName = fileName;
            this.time = time;
            this.fileSize = fileSize;
            this.fileType = fileType;
            this.filePath = filePath;

        }

        public String getFileType() {
            return fileType;
        }

        public void setFileType(String fileType) {
            this.fileType = fileType;
        }

        public String getExtName() {
            return extName;
        }

        public void setExtName(String extName) {
            this.extName = extName;
        }

        public long getFileSize() {
            return fileSize;
        }

        public void setFileSize(long fileSize) {
            this.fileSize = fileSize;
        }

        public long getTime() {
            return time;
        }

        public void setTime(long time) {
            this.time = time;
        }

        public String getFileName() {
            return fileName;
        }

        public void setFileName(String fileName) {
            this.fileName = fileName;
        }

        @Override
        public String toString() {
            return "Content{" +
                    "extName='" + extName + '\'' +
                    ", fileSize=" + fileSize +
                    ", time=" + time +
                    ", fileName='" + fileName + '\'' +
                    ", fileType='" + fileType + '\'' +
                    ", filePath='" + filePath + '\'' +
                    '}';
        }
    }
}
